package com.hbk.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@TableName("carousel")
@Data
public class Carousel {

    @TableId(value = "car_id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField("car_img_url")
    private String imgUrl;

    @TableField("car_title")
    private String title;

    @TableField("car_has_link")
    private Integer hasLink;

    @TableField(value = "car_link_url",insertStrategy= FieldStrategy.IGNORED, updateStrategy = FieldStrategy.IGNORED)
    private String linkUrl;

    @TableField("car_order_num")
    private Integer orderNum;

    @TableField("car_create_time")
    private Date createTime;

    @TableField("car_update_time")
    private Date updateTime;
}
